package com.aspose.cells.a.d;

public class zgp extends ze {
   private zct f;
   private zgg g;
   private int h;
   private int i;

   public zgp(com.aspose.cells.b.a.d.zm var1) throws Exception {
      this.h = Integer.MAX_VALUE;
      this.i = 0;
      this.f = new zct(var1);
      this.g = new zgg(this.f);
   }

   public zgp(com.aspose.cells.b.a.d.zm var1, int var2) throws Exception {
      this(var1);
      this.i = var2;
   }

   public void a(zl var1) throws Exception {
      if (var1 instanceof com.aspose.cells.zan) {
         this.h = ((com.aspose.cells.zan)var1).B;
      }

      var1.a((ze)this);
   }

   public void a() throws Exception {
      if (this.h >= this.i) {
         this.g.a();
         this.f.a();
      }
   }

   public void a(zm var1) throws Exception {
      if (this.h >= this.i) {
         this.g.a(var1.b(), var1.c());
         this.g.a(var1.a());
      }
   }

   public void b(zm var1) throws Exception {
      if (this.h >= this.i) {
         this.g.b();
      }
   }

   public void a(zb var1) throws Exception {
      if (this.h >= this.i) {
         this.g.c().a(var1);
      }
   }

   public void b(zb var1) throws Exception {
      if (this.h >= this.i) {
         this.g.c().b();
      }
   }

   public void a(zf var1) throws Exception {
      if (this.h >= this.i) {
         this.g.c().a(var1);
      }
   }

   public void a(zn var1) throws Exception {
      if (this.h >= this.i) {
         this.g.c().a(var1);
      }
   }

   public void b(zn var1) throws Exception {
      if (this.h >= this.i) {
         this.g.c().c();
      }
   }

   public void a(zk var1) throws Exception {
      if (this.h >= this.i) {
         zn var2 = zn.a(var1.a, var1.b);
         var2.a = var1.c;
         var2.a((ze)this);
         var2 = null;
      }
   }

   public void a(zj var1) throws Exception {
      if (this.h >= this.i) {
         if (var1 != null) {
            if (var1.e() != 1 && var1.e() != 2) {
               this.g.c().a(var1);
            } else {
               zb var2 = zch.a(var1);
               var2.a(var1.g());
               var2.a((ze)this);
            }
         }

      }
   }
}
